{% load urls %}
{% load cache %}
{% cache 216000 top_news %}
<div class="widget">
    <h3>Популярные новости</h3>
    <ul>
        {% for record in records %}
            <li>
                <a href="{% url apps.news.views.base.record record.category.url record.pk record.url %}" title="{{ record.title }}">{{ record.title }}</a>
            </li>
        {% endfor %}
    </ul>
</div>
{% endcache %}